package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.TreeEntity;

/**
 * 剧本信息对象 script_personage_info
 *
 * @author ruoyi
 * @date 2021-08-19
 */
public class ScriptPersonageInfo extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 剧本id */
    @Excel(name = "剧本id")
    private Long scriptId;

    /** 人物姓名 */
    @Excel(name = "人物姓名")
    private String name;

    /** 角色头像id */
    @Excel(name = "角色头像id")
    private Long personagePortraitId;

    /** 人物职业 */
    @Excel(name = "人物职业")
    private String occupation;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 人物介绍 */
    @Excel(name = "人物介绍")
    private String introduce;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setScriptId(Long scriptId)
    {
        this.scriptId = scriptId;
    }

    public Long getScriptId()
    {
        return scriptId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPersonagePortraitId(Long personagePortraitId)
    {
        this.personagePortraitId = personagePortraitId;
    }

    public Long getPersonagePortraitId()
    {
        return personagePortraitId;
    }
    public void setOccupation(String occupation)
    {
        this.occupation = occupation;
    }

    public String getOccupation()
    {
        return occupation;
    }
    public void setGender(Long gender)
    {
        this.gender = gender;
    }

    public Long getGender()
    {
        return gender;
    }
    public void setIntroduce(String introduce)
    {
        this.introduce = introduce;
    }

    public String getIntroduce()
    {
        return introduce;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("scriptId", getScriptId())
                .append("name", getName())
                .append("personagePortraitId", getPersonagePortraitId())
                .append("occupation", getOccupation())
                .append("gender", getGender())
                .append("introduce", getIntroduce())
                .toString();
    }
}